<ion-view view-title="照片" devin-hide-tabs="true">
    <ion-nav-buttons side="right">
    <!--<span ng-click="uploadPhoto()">-->
      <!--<span ng-hide="disable" class="nav-right-button">完成</span>-->
    <!--</span>-->
    </ion-nav-buttons>
    <ion-content id="view-content"">
        <!--<div class="row photoBg" ng-repeat="row in photoRows">-->
            <!--<div ng-click="deletePhoto($index)" ng-repeat="photo in row" class="col col-33"><div class="delete-photo">X</div><img cache-src="{{photo.url}}"></div>-->
            <!--<div ng-click="addPhoto()" class="col col-33"><img cache-src="img/icon1.png" ng-hide="$index > 3"></div>-->
        <!--</div>-->

        <div ng-repeat="photo in params.images">
            <div style="height: {{photoHeight}}px" class="col col-25 col-photo">
                <div ng-hide="disable" ng-click="deletePhoto($index)" class="delete-photo">X</div>
                <img ng-click="useHammer($index)" class="img-photo" cache-src="{{photo.imageUrl}}" alt="{{photo.imageUrl}}"/>
            </div>
        </div>
        <div ng-hide="params.images.length > 8" id="commonPhotoAdd" ng-click="addPhoto()" class="col col-25 col-photo"><img cache-src="img/plus.png" width="100%" ></div>
    </ion-content>

</ion-view>
